/*
 ------------------------------------------------------------------------------
 Copyright (C) 2013 Eternal Games.

 This file is part of the EternalTech source code.

 The EternalTech source code is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.

 The EternalTech source code is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 more details.

 You should have received a copy of the GNU General Public License along with
 the EternalTech source code; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 ------------------------------------------------------------------------------
*/


//
// sg_trigger.cpp - trigger entities
//


#include "sg_local.h"


/*
 ==================

 ==================
*/
static void SG_Trigger_Init (etEntity *entity){

}


/*
 ==============================================================================

 TRIGGER_COUNTER

 ==============================================================================
*/


/*
 ==================

 ==================
*/
void SG_TriggerCounter_Spawn (etEntity *self){

}


/*
 ==============================================================================

 TRIGGER_ONCE

 ==============================================================================
*/


/*
 ==================

 ==================
*/
void SG_TriggerOnce_Spawn (etEntity *self){

}


/*
 ==============================================================================

 TRIGGER_MULTIPLE

 ==============================================================================
*/


/*
 ==================

 ==================
*/
void SG_TriggerMultiple_Spawn (etEntity *self){

}


/*
 ==============================================================================

 TRIGGER_TELEPORT

 ==============================================================================
*/


/*
 ==================

 ==================
*/
static void SG_TriggerTeleport_Trigger (etEntity *self, etEntity *other, etEntity *activator){

}

/*
 ==================

 ==================
*/
static void SG_TriggerTeleport_Touch (etEntity *self, etEntity *other, const trace_t *trace){

}

/*
 ==================

 ==================
*/
void SG_TriggerTeleport_Spawn (etEntity *self){

	// Get the flags

	// Get the audible range

	// Get the sound shader

	// Set the callback functions
	self->Trigger = SG_TriggerTeleport_Trigger;
	self->Touch = SG_TriggerTeleport_Touch;

	// Automatically turn it off if needed

	// Initialize the trigger
	SG_Trigger_Init(self);
}